Host Status Register.
CSTAT | When this bit is ‘1’, it means that the device is connected. When this bit is ‘0’, it means that the device is disconnected. ‘0’ : Device is disconnected. ‘1’ : Device is connected. Notes:
|
TMODE | If this bit is ‘1’, it means that the device is connected in the full-speed mode. When this bit is ‘0’, it means that the device is connected in the low-speed mode. This bit is valid when the CSTAT bit of the Host Status Register (HOST_STATUS) is ‘1’. ‘0’ : Low-speed. ‘1’ : Full-speed. Notes:
|
SUSP | If this bit is set to ‘1’, the USB Host is placed into the suspend state. If this bit is set to ‘0’ while it is ‘1’ or the USB bus is placed into the k-state mode, the suspend state is released, and the RWIRQ bit of the Interrupt USB Host Register (INTR_USBHOST) is set to ‘1’. Set to ‘1’ : Suspend. Set ‘0’ while this bit is ‘1’ : Resume. Others : Holds the status. Notes:
|
SOFBUSY | When a SOF token is sent using the Host Token Endpoint Register (HOST_TOKEN), this bit is set to ‘1’, which means that the SOF timer is active. When this bit is ‘0’, it means that the SOF timer is under suspension. To stop the active SOF timer, write ‘0’ to this bit. However, if this bit is written with ‘1’, its value is ignored. ‘0’ : The SOF timer is stopped. ‘1’ : The SOF timer is active. Notes:
|
URST | When this bit is set to ‘1’, the USB bus is reset. This bit continues set to ‘1’ during USB bus resetting, and changes to ‘0’ when USB bus resetting is ended. If this bit is set to ‘0’, no processing is performed. |
RSVD_5 | N/A |
RSTBUSY | This bit shows that USB Host is being reset internally. If the RST bit of the Host Control 1 Register (HOST_CTL1) is set to ‘1’, this bit is set to ‘1’. If the RST bit of Host Control 1 Register (HOST_CTL1) is set to ‘0’, this bit is set to ‘0’. ‘0’ : USB Host isn’t being reset. ‘1’ : USB Host is being reset. Notes:
|
CLKSEL_ST | This bit shows whether it is full-speed or not. If the CLKSEL bit of the Host Control 1 Register (HOST_CTL1) is set to ‘1’, this bit is set to ‘1’. ‘0’ : Low speed ‘1’ : Full speed Note:
|
HOST_ST | This bit shows whether it is USB Host mode. If the HOST bit of the Host Control Register (HOST_CTL0) is set to ‘1’, this bit is set to ‘1’. ‘0’ : USB Device ‘1’ : USB Host Notes:
|